home *** CD-ROM | disk | FTP | other *** search
- /*
- File: UserInput.h
-
- Contains: User Input Event Services API
-
- Version: Technology: System 8.0
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __USERINPUT__
- #define __USERINPUT__
-
- #ifndef __TYPES__
- #include <Types.h>
- #endif
- #ifndef __KERNEL__
- #include <Kernel.h>
- #endif
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import on
- #endif
-
- #if PRAGMA_ALIGN_SUPPORTED
- #pragma options align=mac68k
- #endif
-
- #if FOR_SYSTEM8_PREEMPTIVE
- extern OSStatus GetApplicationUserInterfaceCapable(KernelProcessID id, Boolean *hasUI);
-
- extern OSStatus SetApplicationUserInterfaceCapable(Boolean hasUI);
-
- extern OSStatus GetApplicationFrontClicksSetting(KernelProcessID id, Boolean *getFrontClicks);
-
- extern OSStatus SetApplicationFrontClicksSetting(Boolean getFrontClicks);
-
- extern OSStatus GetApplicationBackgroundOnly(KernelProcessID id, Boolean *backgroundOnly);
-
- extern OSStatus SetApplicationBackgroundOnly(Boolean backgroundOnly);
-
- extern OSStatus InstallIntoApplicationList(Boolean hasUI, Boolean getFrontClicks, Boolean backgroundOnly);
-
- extern OSStatus GetFrontApplication(KernelProcessID *id);
-
- extern OSStatus SetFrontApplication(KernelProcessID id);
-
- extern OSStatus GetUserInputFocus(KernelProcessID *focus);
-
- extern OSStatus SetUserInputFocus(KernelProcessID focus);
-
- #endif
-
- #if PRAGMA_ALIGN_SUPPORTED
- #pragma options align=reset
- #endif
-
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import off
- #endif
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif /* __USERINPUT__ */
-
-